<?php
require_once("../application.php");

require_once(DIR_ROOT."classes/lib/weibooauth.class.php");
$o = new WeiboOAuth(SINA_WB_AKEY , SINA_WB_SKEY , $oauth_token , $oauth_token_secret);
$auth_keys = $o->getAccessToken($_REQUEST['oauth_verifier']);
$c = new WeiboClient(SINA_WB_AKEY, SINA_WB_SKEY, $auth_keys['oauth_token'], $auth_keys['oauth_token_secret']);